/*
 * @FileName: Constant.java
 * 
 * @Author
 * 
 * @Description:
 * 
 * @Date 2016年3月8日 上午9:59
 * 
 * @CopyRight ZTE Corporation
 */
package cn.hpclub.server.constant;

/**
 * Class description goes here
 *
 * @author
 */
public interface H5ApiConstant{

    // 通用
    public static final int    APPID             = 100000056;
    public static final String ZHISHIKU_MODULEID = "csc_zsjs";// 知识库模块ID

    // 表名
    public interface Table{
        public static final String SERVICE_RESERVATION = "service_reservation"; // 宽带预约订单
        public static final String CMCC_CITY           = "cmcc_city";           // 移动地市数据
        public static final String DIC_COUNTRYCODE     = "dic_countrycode";     // 区县数据
        public static final String CMCC_AREA           = "cmcc_area";           // 移动区县数据
    }

    public interface Ui{
        // request
        // broadband order
        public static final String ID            = "id";
        public static final String PAGE_SIZE     = "pageSize";
        public static final String PAGE_NUMBER   = "pageNumber";
        public static final String KEYWORD       = "keyWord";
        public static final String USERID        = "userId";
        public static final String CITY          = "city";
        public static final String AREAS         = "areas";
        public static final String AREA          = "area";
        public static final String CITYCODE      = "cityCode";
        public static final String GROUPID       = "groupId";
        public static final String EMPCODE       = "empCode";
        public static final String SAVETYPE      = "saveType";
        public static final String USERID_UPPER  = "Userid";
        public static final String SALETYPE      = "saleType";
        public static final String TOKEN         = "token";

        // recharge order
        public static final String CAPTCHATOKEN  = "captchaToken";
        public static final String ORDERID       = "orderId";
        public static final String RECHARGEPHONE = "rechargePhone";
        public static final String RECHARGEMONEY = "rechargeMoney";
        public static final String PAYAMOUNT     = "payAmount";
        public static final String PAYPLAT       = "payPlat";
        public static final String FXSTR         = "fxstr";

        // marketing
        public static final String PHONENO       = "phone_no";
        public static final String BUSINESSCODE  = "businessCode";

    }

    public interface Key{
        // 通用的
        public static final String RESULT_CODE = "resultCode";
        public static final String MESSAGE     = "message";
        public static final String DATA        = "data";
        public static final String TOKEN       = "token";
        public static final String SALETYPE    = "saleType";
    }

    public interface ResultCode{
        public final static int SUCCESS_CODE   = 1000;
        public final static int FAIL_CODE      = 1001;
        public final static int EXCEPTION_CODE = 1002;
    }

    public interface Msg{
        public final static String SUCCESS                         = "成功";
        public final static String FAIL                            = "失败！";
        public final static String EXCEPTION_TIMEOUT               = "服务器请求超时！";
        public final static String EXCEPTION                       = "服务器异常！";
        public final static String PARAEXCEPTION                   = "参数异常！";
        public final static String PARA_ILLEGAL                    = "参数非法！";
        public final static String EMPTY                           = "";
        public final static String EMPTY_DATA                      = "[]";
        public final static String NOT_INVALID_USER                = "无效用户，无法办理该业务！";
        public final static String CITY_NOT_EXIST                  = "城市数据错误，无法办理业务！";
        public final static String CAPTCHA_TOKEN_ERROR             = "验证码错误！";
        public final static String REC_BUSINESS_EXCEPTION          = "该用户暂无推荐业务！";
        public final static String SAVE_BROADBAND_LOCAL_FAIL       = "提交宽带预约订单失败！";
        public final static String SAVE_BROADBAND_DPR_EXCEPTION    = "提交宽带预约订单异常！";
        public final static String CUSTREALCHK_EXCEPTION           = "实名认证异常！";
        public final static String CAPTCHA_TOKEN_EXCEPTION         = "验证验证码异常！";
        public final static String SAVE_FEEDBACK_SUCCESS           = "提交反馈信息成功！";
        public final static String SAVE_FEEDBACK_FAIL              = "提交反馈信息失败！";
        public final static String SERVER_EXCEPTION                = "服务器处理异常，请联系管理员！";
        public final static String BD_ERROR_TYPE                   = "宽带类型错误!";
        public final static String ILLEGAL_USER                    = "用户身份信息不合法!";
        public final static String ILLEGAL_TOKEN                   = "请升级客户端版本！";

        public final static String ORDERID_IS_BLANK                = "订单号不能为空！";
        public final static String ORDERID_NOT_EXIST               = "订单号不存在！";
        public final static String ORDERID_PAYSTATUS_UPDATE_FAILED = "订单支付状态更新失败，请稍后重试！";
        public final static String ORDER_IS_PAIED                  = "订单已支付，无需查询！";

        public final static String NOT_CURDATE_ORDER_ID            = "订单号已过期或不合法，请重新进入该页面！";

    }

    public interface CmccKey{
        // request

        // request/return
        public static final String RAWSTR        = "rawStr";

        // return
        // 验证验证码
        public static final String RES_CODE      = "res_code";
        public static final String RES_MSG       = "res_msg";

        public static final String RESCODE       = "resCode";
        public static final String RESMSG        = "resMsg";
        public static final String OUTDATA       = "outData";
        public static final String REAL_FLAG     = "REAL_FLAG";
        public static final String PRE_ACCEPT    = "PRE_ACCEPT";
        public static final String ROW           = "ROW";
        public static final String PHONE_NO      = "PHONE_NO";
        public static final String STATE         = "STATE";
        public static final String COMM_NAME     = "COMM_NAME";
        public static final String DISTRICT_NAME = "DISTRICT_NAME";
        public static final String PAY_ACCEPT    = "PAY_ACCEPT";   // 充值缴费订单流水
        // 商务动力宽带预约
        public static final String ROOT          = "ROOT";
        public static final String RETURN_CODE   = "RETURN_CODE";
        public static final String RETURN_MSG    = "RETURN_MSG";
        public static final String OUT_DATA      = "OUT_DATA";

    }

    public interface CmccResultCode{
        public final static String SUCCESS_CODE        = "0000000";
        public final static int    RETURN_SUCCESS_CODE = 0;
    }

    public interface CmccMsg{
        public final static String SUCCESS          = "成功";
        public final static String FAIL             = "失败！";
        public final static String EXCEPTION        = "服务器异常！";
        public final static String PARAEXCEPTION    = "参数异常！";
        public final static String PARA_ILLEGAL     = "参数非法！";
        public final static String EMPTY            = "";
        public final static String EMPTY_DATA       = "[]";
        public final static String NOT_INVALID_USER = "无效用户！";
        public final static String CITY_NOT_EXIST   = "城市数据错误，无法办理业务！";
    }
}
